package com.indexingsystem.boss.Vo;

import java.io.Serializable;
import java.util.Date;

public class IdxTaskListVo implements Serializable {

    private static final long serialVersionUID = -1369001424364893345L;

    private String taskId; //主鍵

    private String siteId; //站点id,备用

    private String taskType; // 任务类型 0=产品，1=内文

    private Integer taskStatus; //任务状态，0=正常，1=暂停

    private Integer parentid; //父id，顶层为0

    private String arrParentId; //所有父id，逗号

    private String arrChildId; //所有子任务id，逗号分割

    private Integer child; //是否存在子任务，0=不存在，1=存在

    private String name; //任务名称

    private String description; //任务描述

    private Integer listorder;//排序

    private Integer checkStatus; //审核状态，200=通过0=未审核，-1=审核未通过

    private String taskCheckBy; //任务审核人

    private Integer submitStatus;// 送审，0=未送审，1=已送审

    private Date assignDate; //任务分配时间

    private Date completeDate; //预计完成时间

    private String createBy; //任务创建人


    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getSiteId() {
        return siteId;
    }

    public void setSiteId(String siteId) {
        this.siteId = siteId;
    }

    public String getTaskType() {
        return taskType;
    }

    public void setTaskType(String taskType) {
        this.taskType = taskType;
    }

    public Integer getTaskStatus() {
        return taskStatus;
    }

    public void setTaskStatus(Integer taskStatus) {
        this.taskStatus = taskStatus;
    }

    public Integer getParentid() {
        return parentid;
    }

    public void setParentid(Integer parentid) {
        this.parentid = parentid;
    }

    public String getArrParentId() {
        return arrParentId;
    }

    public void setArrParentId(String arrParentId) {
        this.arrParentId = arrParentId;
    }

    public String getArrChildId() {
        return arrChildId;
    }

    public void setArrChildId(String arrChildId) {
        this.arrChildId = arrChildId;
    }

    public Integer getChild() {
        return child;
    }

    public void setChild(Integer child) {
        this.child = child;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getListorder() {
        return listorder;
    }

    public void setListorder(Integer listorder) {
        this.listorder = listorder;
    }

    public Integer getCheckStatus() {
        return checkStatus;
    }

    public void setCheckStatus(Integer checkStatus) {
        this.checkStatus = checkStatus;
    }

    public String getTaskCheckBy() {
        return taskCheckBy;
    }

    public void setTaskCheckBy(String taskCheckBy) {
        this.taskCheckBy = taskCheckBy;
    }

    public Integer getSubmitStatus() {
        return submitStatus;
    }

    public void setSubmitStatus(Integer submitStatus) {
        this.submitStatus = submitStatus;
    }

    public Date getAssignDate() {
        return assignDate;
    }

    public void setAssignDate(Date assignDate) {
        this.assignDate = assignDate;
    }

    public Date getCompleteDate() {
        return completeDate;
    }

    public void setCompleteDate(Date completeDate) {
        this.completeDate = completeDate;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public IdxTaskListVo() {
        super();
    }

    public IdxTaskListVo(String taskId, String siteId, String taskType, Integer taskStatus, Integer parentid, String arrParentId, String arrChildId, Integer child, String name, String description, Integer listorder, Integer checkStatus, String taskCheckBy, Integer submitStatus, Date assignDate, Date completeDate, String createBy) {
        this.taskId = taskId;
        this.siteId = siteId;
        this.taskType = taskType;
        this.taskStatus = taskStatus;
        this.parentid = parentid;
        this.arrParentId = arrParentId;
        this.arrChildId = arrChildId;
        this.child = child;
        this.name = name;
        this.description = description;
        this.listorder = listorder;
        this.checkStatus = checkStatus;
        this.taskCheckBy = taskCheckBy;
        this.submitStatus = submitStatus;
        this.assignDate = assignDate;
        this.completeDate = completeDate;
        this.createBy = createBy;
    }

    @Override
    public String toString() {
        return "IdxTaskListVo{" +
                "taskId='" + taskId + '\'' +
                ", siteId='" + siteId + '\'' +
                ", taskType='" + taskType + '\'' +
                ", taskStatus=" + taskStatus +
                ", parentid=" + parentid +
                ", arrParentId='" + arrParentId + '\'' +
                ", arrChildId='" + arrChildId + '\'' +
                ", child=" + child +
                ", name='" + name + '\'' +
                ", description='" + description + '\'' +
                ", listorder=" + listorder +
                ", checkStatus=" + checkStatus +
                ", taskCheckBy='" + taskCheckBy + '\'' +
                ", submitStatus=" + submitStatus +
                ", assignDate=" + assignDate +
                ", completeDate=" + completeDate +
                ", createBy='" + createBy + '\'' +
                '}';
    }
}
